package com.mindata.blockchain.block;

/**
 * User: jasperxgwang
 * Date: 2018-7-24 15:23
 */
public enum InstructionStatus {

    SUCCESS("Success", 1),
    APPENDING("Appending", 0),
    FAIL("Fail", -1);

    private String key;
    private int value;

    InstructionStatus(String key, int value) {
        this.key = key;
        this.value = value;
    }

    public String getKey() {
        return key;
    }

    public int getValue() {
        return value;
    }

}
